Handling calls on a shared speech-enabled device

ABSTRACT

In some implementations, an utterance that requests a voice call is received, the utterance is classified as spoken by a particular known user, the particular known user is determined to be associated with a personal voice number, and in response to determining that the particular known user is associated with a personal voice number, the voice call is initiated with the personal voice number.

FIELD

This specification generally relates to natural language processing.

BACKGROUND

Speech-enabled devices may perform actions in response to spokenutterances from users. For example, a user may say “OK Computer, will itrain today?” and a speech-enabled device may audibly respond, “It willbe sunny all day.” A benefit of using speech-enabled devices is thatinteracting with the speech-enabled devices may be generally hands-free.For example, when the user says a question, the speech-enabled devicemay provide an audible answer without needing the user to physicallyinteract with anything using their hands. However, common speech-enableddevices are limited in the types of interactions supported.

SUMMARY

A speech-enabled device may be used to place a voice call. For example,John Doe may say “OK Computer, call (555) 555-5555” to have aspeech-enabled device place a call to the phone number (555) 555-5555.Typically, outbound calls are associated with a caller number that canbe used to identify the caller. For example, when John Doe calls (555)555-5555 using his phone, a phone that receives the call may indicatethat a call is coming from a phone number associated with John Doe'sphone.

Associating caller numbers with a call may be useful, as a recipient ofthe call may use the caller number to decide whether to answer the calland also use the caller number if they need to place a call back.However, unlike a conventional phone, some speech-enabled devices maynot be associated with a phone number that can be used as a callernumber for a call.

To provide a caller number when placing a call, a speech-enabled devicemay attempt to use a personal voice number of the speaker as the callernumber. A personal voice number may be a number used to place a call toa user. For example, when John says “OK Computer, call (555) 555-5555, aspeech-enabled device may use the phone number (555) 999-9999 of JohnDoe's phone as the caller number. If the speech-enabled device is unableto determine a personal voice number of the speaker, the speech-enableddevice may instead place the call anonymously so that the call is notassociated with a voice number that can be used to place a call back.For example, such a call may indicate “Unknown Number” or “PrivateNumber” as the caller number.

In some instances, if the call is to emergency services, the call may beplaced using a temporary number that the recipient can use to call backthe speech-enabled device. For example, such a call may indicate thephone number (555) 888-8888 that may be used for the next couple hoursto place a call back to the speech-enabled device.

Additionally or alternatively, the speech-enabled device may use theidentity of a speaker to determine a voice number to call. For example,when John says “OK Computer, call Dad,” a speech-enabled device mayrecognize or otherwise authenticate John then access John's contactrecords to determine a phone number for “Dad.” In another example, whenJane says “OK Computer, call Dad,” a speech-enabled device maydistinguish Jane from John by voice recognition or other authenticationtechnique and thereafter access Jane's contact records to determine aphone number for “Dad.” In yet another example, when a guest says “OKComputer, call Dad,” a speech-enabled device will not recognize theguest by voice (or other authentication techniques) and may not accesscontact records of any user to determine a phone number for “Dad.”Accordingly, as seen in these three examples, “OK Computer, call Dad”may have different results based on an identity of the speaker.

Additionally or alternatively, a speech-enabled device may respond toutterances from a user during a voice call placed by the speech-enableddevice. For example, during a call the speech-enabled device may respondto commands of “OK Computer, hang up,” “OK Computer, increase speakervolume,” “OK Computer, what is the weather today.” In responding toutterances during a voice call, the speech-enabled device may block atleast a portion of the utterance from the recipient. For example, when auser says “OK Computer, increase speaker volume,” the speech-enableddevice may increase the speaker volume and block “increase speakervolume” so that the recipient only hears “OK Computer.” In anotherexample, the speech-enabled device may have a latency in providing audioto a recipient so may block an entire utterance from being heard by arecipient when the utterance starts with “OK Computer.”

Accordingly, in some implementations an advantage may be that aspeech-enabled device shared by multiple users may still enable a userto place a call and have the number that appears as the calling numberon a telephone of a recipient to be a voice number of a mobile computingdevice of the user's. As people may typically not pick up calls fromunrecognized numbers, this may increase the likelihood that a callplaced using the speech-enabled device is answered. Additionally, callsmay be more efficient as the person being called may already know who iscalling based on the use of a voice number associated with the user. Atthe same time security may be provided in that a user may not use avoice number of any other user of the speech-enabled device as thespeech-enabled device uses the voice number that matches the speech ofthe speaker.

Another advantage in some implementations may be that allowing use ofcontacts on a speech-enabled device may enable users to more quicklyplace calls as users may be able to quickly say names of contactsinstead of say digits of a voice number. The speech-enabled device mayalso be able to disambiguate contacts between multiple users. Forexample, different users may have respective contact entries with thesame name of “Mom” which are associated with different telephonenumbers. Security may also be provided in that a user may not usecontacts of other users of the speech-enabled device as thespeech-enabled device may ensure that contacts used are those that matchthe speech of the speaker.

Yet another advantage in some implementations may be that allowing thehandling of queries during a voice call may enable a better hands-freeexperience for a call. For example, a user may be able to virtuallypress digits in response to an automated attendant that requests callersrespond with particular number presses. Security may also be provided inhaving two way holds be placed while a query is being handled andautomatically ended once queries are resolved. Additionally, a two-wayhold may ensure that the response to the query from the voice-enabledvirtual assistant is not obscured by sounds from the other person. Forexample, without the two-way hold, the other person may speak at thesame time as the response from the voice-enabled virtual assistant isoutput.

In some aspects, the subject matter described in this specification maybe embodied in methods that may include the actions of receiving anutterance that requests a voice call, classifying the utterance asspoken by a particular known user, determining whether the particularknown user is associated with a personal voice number, and in responseto determining that the particular known user is associated with apersonal voice number, initiating the voice call with the personal voicenumber.

In some implementations, classifying the utterance as spoken by aparticular known user includes determining whether speech in theutterance matches speech corresponding to the particular known user. Incertain implementations, classifying the utterance as spoken by aparticular known user includes determining whether a visual image of atleast a portion of the speaker matches visual information correspondingto the particular known user. In some implementations, determiningwhether the particular known user is associated with a personal voicenumber includes accessing account information of the particular knownuser and determining whether the account information of the user storesa voice number for the particular known user.

In certain implementations, determining whether the particular knownuser is associated with a personal voice number includes providing, to aserver, an indication of the particular known user and a representationof the utterance and receiving, from the server, the personal voicenumber of the particular known user, a voice number to call, and aninstruction to place a voice call. In some implementations, determiningwhether the particular known user is associated with a personal voicenumber includes accessing an account of the particular known user,determining whether the account of the user indicates a phone, anddetermining that the phone is connected with a speech-enabled device.

In certain implementations, initiating the voice call with the personalvoice number includes initiating the voice call through the phoneconnected with the speech-enabled device. In some implementations, inresponse to determining that the particular known user is associatedwith a personal voice number, initiating the voice call with thepersonal voice number includes initiating the voice call through a Voiceover Internet Protocol call provider.

In some aspects, the subject matter described in this specification maybe embodied in methods that may include the actions of receiving anutterance that requests a voice call, classifying the utterance asspoken by a particular known user, in response to classifying theutterance as spoken by the particular known user, determining arecipient voice number to call based on contacts for the particularknown user, and initiating the voice call to the recipient voice number.

In some implementations, in response to classifying the utterance asspoken by the particular known user, obtaining contact entries createdby the particular known user includes in response to classifying theutterance as spoken by the particular known user, determining thatcontact entries of the particular known user are available, and inresponse to determining that contact entries of the particular knownuser are available, obtaining contact entries created by the particularknown user. In certain implementations, in response to classifying theutterance as spoken by the particular known user, determining arecipient voice number to call based on voice contacts for theparticular known user includes in response to classifying the utteranceas spoken by the particular known user, obtaining contact entriescreated by the particular known user, identifying a particular contactentry from among the contact entries where the particular contact entryincludes a name that matches the utterance, and determining a voicenumber indicated by the particular contact entry as the recipient voicenumber.

In some implementations, identifying a particular contact entry fromamong the contact entries where the particular contact entry includes aname that matches the utterance includes generating a transcription ofthe utterance and determining that the transcription includes the name.In certain implementations, classifying the utterance as spoken by aparticular known user includes obtaining an indication that speech inthe utterance was determined by a speech-enabled device to match speechcorresponding to the particular known user. In some implementations,classifying the utterance as spoken by a particular known user includesdetermining whether speech in the utterance matches speech correspondingto the particular known user. In certain implementations, initiating thevoice call to the recipient voice number includes providing, to aspeech-enabled device, the recipient voice number and an instruction toinitiate a voice call to the recipient voice number.

In some implementations, actions include receiving a second utterancethat requests a second voice call, classifying the second utterance asnot being spoken by any known user of a speech-enabled device, and inresponse to classifying the second utterance as not being spoken by anyknown user of the speech-enabled device, initiating a second voice callwithout accessing voice contacts for any known user of thespeech-enabled device.

In some aspects, the subject matter described in this specification maybe embodied in methods that may include the actions of determining thata first party has spoken a query for a voice-enabled virtual assistantduring a voice call between the first party and a second party, inresponse to determining that the first party has spoken the query forthe voice-enabled virtual assistant during the voice call between thefirst party and the second party, placing the voice call between thefirst party and the second party on hold, determining that thevoice-enabled virtual assistant has resolved the query, and, in responseto determining that the voice-enabled virtual assistant has handled thequery, resuming the voice call between the first party and the secondparty from hold.

In some implementations, determining that a first party has spoken aquery for a voice-enabled virtual assistant during a voice call betweenthe first party and a second party includes determining, by aspeech-enabled device, that a hotword was spoken by the first partyduring the voice call. In certain implementations, placing the voicecall between the first party and the second party on hold includesproviding an instruction to a voice call provider to place the voicecall on hold. In some implementations, placing the voice call betweenthe first party and the second party on hold includes routing audio froma microphone to the voice-enabled virtual assistant instead of a voiceserver and routing audio from the voice-enabled virtual assistant to aspeaker instead of audio from the voice server.

In certain implementations, determining that the voice-enabled virtualassistant has resolved the query includes providing, to thevoice-enabled virtual assistant, the query and an indication that avoice call is ongoing on the speech-enabled device and receiving, fromthe voice-enabled virtual assistant, a response to the query and anindication that the query is resolved. In some implementations,receiving, from the voice-enabled virtual assistant, a response to thequery and an indication that the query is resolved includes receivingaudio to be output as the response to the query and a binary flag with avalue that indicates whether the query is resolved. In certainimplementations, the voice-enabled virtual assistant is configured toidentify a command corresponding to the query, determine that thecommand can be executed during a voice call, and in response todetermining that the command can be executed during a voice call,determine the response to indicate an answer to the command.

In some implementations, the voice-enabled virtual assistant isconfigured to identify a command corresponding to the query, determinethat the command cannot be executed during a voice call, and in responseto determining that the command cannot be executed during a voice call,determine the response to indicate that the command cannot be executed.In certain implementations, determining that the command cannot beexecuted during a voice call includes obtaining a list of commands thatcan be executed normally during a voice call and determining that thecommand identified is not in the list of commands. In someimplementations, determine that the command cannot be executed during avoice call includes obtaining a list of commands that cannot be executednormally during a voice call and determining that the command identifiedis in the list of commands.

In certain implementations, in response to determining that thevoice-enabled virtual assistant has handled the query, resuming thevoice call between the first party and the second party from holdincludes providing an instruction to a voice call provider to resume thevoice call from hold. In some implementations, in response todetermining that the voice-enabled virtual assistant has handled thequery, resuming the voice call between the first party and the secondparty from hold includes routing audio from a microphone to a voiceserver instead of the voice-enabled virtual assistant and routing audiofrom the voice server to a speaker instead of audio from thevoice-enabled virtual assistant. In certain implementations, in responseto determining that the voice-enabled virtual assistant has handled thequery, resuming the voice call between the first party and the secondparty from hold includes receiving an instruction from the voice-enabledvirtual assistant to produce dual-tone multi-frequency signals and inresponse to receiving an instruction from the voice-enabled virtualassistant to produce dual-tone multi-frequency signals, providing asecond instruction to the voice call provider to produce the dual-tonemulti-frequency signals after providing the instruction to the voicecall provider to resume the voice call from hold. In someimplementations, the voice-enabled assistant server is configured todetermine that the query indicates a command to generate one or moredual-tone multi-frequency signals and one or more numbers correspondingto the one or more dual-tone multi-frequency signals.

Other implementations of this and other aspects include correspondingsystems, apparatus, and computer programs, configured to perform theactions of the methods, encoded on computer storage devices. A system ofone or more computers can be so configured by virtue of software,firmware, hardware, or a combination of them installed on the systemthat in operation cause the system to perform the actions. One or morecomputer programs can be so configured by virtue of having instructionsthat, when executed by data processing apparatus, cause the apparatus toperform the actions.

Details of one or more implementations of the subject matter describedin this specification are set forth in the accompanying drawings and thedescription below. Other features, aspects, and potential advantages ofthe subject matter will become apparent from the description, thedrawings, and the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1A, FIG. 1B, FIG. 1C, and FIG. 1D are block diagrams thatillustrate example interactions with a speech-enabled device placing acall.

FIG. 2 is a flow diagram that illustrates an example of a process forplacing a call.

FIG. 3 is a flow diagram that illustrates an example of a process fordetermining a voice number to call.

FIG. 4 is a block diagram that illustrates an example interaction with aspeech-enabled device during a call.

FIG. 5 is a block diagram that illustrates an example of a system forinteracting with a speech-enabled device placing a call.

FIG. 6 is a flow diagram that illustrates an example of a processdetermining a caller number.

FIG. 7 is a flow diagram that illustrates an example of a process fordetermining a recipient number to call.

FIG. 8 is a flow diagram that illustrates an example of a process forhandling queries during a voice call.

FIG. 9 is a diagram of examples of computing devices.

Like reference numbers and designations in the various drawings indicatelike elements.

DETAILED DESCRIPTION

FIGS. 1A-1D are block diagrams that illustrate different exampleinteractions in a system 100. The system 100 includes a speech-enableddevice 125 that can be used by a user 110 to call a recipient 155without having the user 110 physically interact with the system 100 bytouch.

In some implementations, the speech-enabled device 125 may performactions in response to detecting an utterance including a predeterminedphrase, also referred to as a hotword, that a user speaks to address thespeech-enabled device 125. For example, a hotword may be “OK Computer”or some other phrase, that a user must speak immediately preceding anyrequest that the user says to the speech-enabled device 125.

To place calls with a caller number, the speech-enabled device 125 mayclassify utterances as spoken by particular known users, and place callswith caller numbers of the particular known users. A known user may be auser that is registered as a user of the system 100 and a guest user maybe a user that is not registered as a user of the system 100. Forexample, “Mom” may register as a known user of the speech-enabled device125, and the speech-enabled device 125 may later classify whether anutterance is spoken by the known user “Mom.”

For example, FIG. 1A illustrates the speech-enabled device 125 receivingan utterance “OK Computer, call Store X,” classifying a speaker as aknown speaker, “Matt,” and placing a call to Store X with a stored phonenumber for “Matt.” In another example, FIG. 1B illustrates thespeech-enabled device 125 receiving an utterance “OK Computer, callStore X,” classifying a speaker as a known speaker, “Dad,” and placingan anonymous call to Store X. In yet another example, FIG. 1Cillustrates the speech-enabled device 125 receiving an utterance “OKComputer, call Store X,” classifying a speaker as a guest speaker, andplacing an anonymous call to Store X.

In still another example, FIG. 1D illustrates the speech-enabled device125 receiving an utterance “OK Computer, emergency call,” classifying aspeaker as a guest speaker, and placing a call to emergency serviceswith a temporary number. A temporary number may be a voice number thatthe emergency services can use to place a call back to thespeech-enabled device 125 for at least a certain duration, e.g., onehour, two hours, twenty-four hours, etc. The temporary number may beunknown to the speaker so that the temporary number can only be used byemergency services to call back during emergencies.

In more detail, the speech-enabled device 125 may include one or moremicrophones and one or more speakers. The speech-enabled device 125 mayreceive utterances using the one or more microphones and output audibleresponses to the utterances through the one or more speakers.

The speech-enabled device 125 may store user account information foreach known user of the speech-enabled device 125. For example, thespeech-enabled device 125 may store a first set of user accountinformation 132 for the known user “Mom,” a second set of user accountinformation 134 for the known user “Dad,” and a third set of useraccount information 136 for the known user “Matt.”

The user account information of a user may indicate a voice number thatmay be used as a caller number when the user places a call. For example,the first set of user account information 132 for “Mom” may store afirst phone number 140 of (555) 111-1111, the second set of user accountinformation 134 for “Dad” may be blank (i.e., no stored phone number),and the third set of user account information 136 for “Matt” may store asecond phone number 142 of (555) 222-2222. In certain embodiments, useraccount information for a user may store multiple numbers, such as“home”, “work”, “mobile”, etc.

The user account information of a user may indicate speakeridentification features that may be used to recognize whether a speakeris the user. For example, the first set of user account information 132for “Mom” may store mel-frequency cepstral coefficients (MFCCs)features, which collectively can form a feature vector, that representthe user “Mom” previously saying a hotword multiple times.

In some implementations, a user may register as a known user through acompanion application on a mobile computing device where the mobilecomputing device is in communication with the speech-enabled device 125via a local wireless connection. For example, a user “Mom” may log intoher account through a companion application on her phone, then indicatein the companion application that she would like to register as a knownuser of the speech-enabled device 125, and then say a hotword multipletimes into her phone.

As part of the registration, or afterwards, a user may indicate whetherthe user would like to associate a voice number for use as a callernumber for calls that the user places using the speech-enabled device125. For example, the user “Mom” may indicate she would like to have hercalls placed by the speech-enabled device 125 indicating that the callernumber is the phone number of her phone. In another example, the user“Mom” may indicate she would like to have her calls placed by thespeech-enabled device 125 go through her phone when her phone isconnected, e.g., through a Bluetooth connection, to the speech-enableddevice 125.

The speech-enabled device 125 may place a call through types of callproviders. For example, the speech-enabled device 125 may have anInternet connection and place a call using a Voice over InternetProtocol (VoIP). In another example, the speech-enabled device 125 maybe in communication with a cellular network and place a call using thecellular network. In yet another example, the speech-enabled device 125may be in communication with a cellular (or land-line) phone and place acall through the phone so the user speaks into and listens to thespeech-enabled device 125, but the call is established through thephone.

In some implementations, the user may indicate a voice number to use asa caller number for calls that the user places using the speech-enableddevice 125 based on selecting a call provider that the user wants touse. For example, the “Mom” could indicate that she wants her calls tobe placed through a first call provider, e.g., a cellular networkprovider, for which she can also receive calls using the phone number(555) 111-1111, and later indicate that she instead wants her calls tobe placed through a second call provider, e.g., a VoIP provider, forwhich she can receive calls using the phone number (555) 111-2222.

In some implementations, the speech-enabled device 125 may classifyutterances as spoken by a particular user based on contextualinformation. Contextual information may include one or more of audio,visual, or other information. In regards to audio information, thespeech-enabled device 125 may classify utterances based on speakeridentification features (e.g., mel-frequency cepstral coefficients(MFCCs) features, which collectively can form a feature vector) of oneor more utterances of a known user. For example, the speech-enableddevice 125 may store speaker identification features for each of theknown users speaking “OK Computer.” In response to the speakeridentification features in a currently received utterance sufficientlymatching the stored speaker identification features of the known user“Dad” speaking “OK Computer,” the speech-enabled device 125 may classifythe utterance as spoken by the known user “Dad.”

In another example, the speech-enabled device 125 may classifyutterances based on an entire audio of an utterance. For example, thespeech-enabled device 125 may determine whether the speech in an entirereceived utterance matches speech corresponding to the known user “Dad.”

In regards to visual information, the speech-enabled device 125 mayreceive one or more images of at least a portion of a speaker andattempt to recognize the speaker based on the one or more images. Forexample, the speech-enabled device 125 may include a camera anddetermine that a speaker within view of the camera has a face that thespeech-enabled device 125 classifies as matching a face corresponding tothe known user “Dad.” In other examples, the speech-enabled device 125may attempt to match one or more of the speaker's fingerprint, retinascan, facial recognition, posture, co-presence of another device, orconfirmation of identity from another device or element of software.

The speech-enabled device 125 may be a local front-end device thatplaces calls in cooperation with a remote server. For example, when thespeech-enabled device 125 receives an utterance “OK Computer, call StoreX,” the speech-enabled device 125 may detect when a speaker says ahotword “OK Computer,” classify a user as “Mom” based on speakeridentification features in the utterance of “OK Computer,” and provide arepresentation of “Call Store X” and an indication that the speaker is“Mom” to a server. The server may then transcribe “Call Store X,”determine that the text “Call Store X” corresponds to an action ofplacing a call, that Store X has a phone number of (555) 999-9999, andthat “Mom” has indicated that her calls should be placed through herVoIP account with a caller number of (555) 111-1111. The server may thensend an instruction of “Call (555) 999-9999 with VoIP account (555)111-1111” to the speech-enabled device 125. In other implementations,the speech-enabled device 125 may perform the actions described by theremote server independently of a remote server.

In some implementations, the speech-enabled device 125 may classifyutterances based on other information in addition to the audioinformation and the visual information. Specifically, the speech-enableddevice 125 may classify utterances based on speaker identificationfeatures and a confirmation from a user to validate the identity of thespoken user. Additionally, the speech-enabled device 125 may classifyutterances based on one or more received images of at least the portionof the speaker and a confirmation from the user to validate the identityof the spoken user. For example, as mentioned above, the speech-enableddevice 125 may receive one or more utterances from a spoken user. Thespeech-enabled device 125 may determine that the speaker identificationfeatures in the one or more received utterances sufficiently match thestored speaker identification features of the known user “Dad” speaking“OK Computer.” In response, the speech-enabled device 125 may confirmthe determination that the user speaking is “Dad” by asking the user “Isthis Dad speaking?” The speaker can respond by answering “Yes” or “No”in order to validate the speech-enabled device 125's confirmation.Should the speaker answer “No,” the speech-enabled device 125 may ask anadditional question, such as “What is the name of the speaker?” todetermine if the name matches a known user name stored in thespeech-enabled device 125.

FIG. 2 is a flow diagram that illustrates an example of a process 200for placing a call. The operations of the process 200 may be performedby one or more computing systems, such as the system 100 of FIGS. 1A-1D.

The process 200 includes receiving an utterance (210). For example, thespeech-enabled device 125 may receive an utterance of “OK Computer, call(555) 999-9999.”

The process 200 includes determining whether the call is to emergencyservices (212). For example, the speech-enabled device 125 may determinethat a call to the number is not a call to emergency services as (555)999-9999 is not associated with any emergency services. In anotherexample, the speech-enabled device 125 may determine that a call to thenumber “911” is an emergency call is the number “911” is associated withemergency services.

If the process 200 determines that the call is to emergency services,the process 200 includes initiating a call with a temporary number(214). For example, the speech-enabled device 125 may request that acall provider generate a phone number that can be used for twenty-fourhours to call back to the speech-enabled device and then initiate a callto emergency services showing the temporary number as the caller number.

If the process 200 determines that the call is not to emergencyservices, the process 200 includes determining whether the speaker ofthe utterance is a known user (216). For example, the speech-enableddevice 125 may determine that the speaker of “OK Computer, call (555)999-9999” is a known user in response to classifying the speaker as aknown user “Matt.” In another example, the speech-enabled device 125 maydetermine that the speaker is a known user in response to classifyingthe speaker as a known user “Dad.” In yet another example, thespeech-enabled device 125 may determine that the speaker is not a knownuser in response to classifying the speaker as a guest user.

In some implementations, determining whether the speaker of theutterance is a known user includes determining whether speech in theutterance matches speech corresponding to the particular known user. Forexample, the speech-enabled device 125 may determine that the way thespeaker said “OK Computer” matches how the known user “Matt” says “OKComputer” and, in response, classify the speaker as the known user“Matt.” In another example, the speech-enabled device 125 may determinethat the way the speaker said “OK Computer” matches how the known user“Dad” says “OK Computer” and, in response, classify the speaker as theknown user “Dad.” Additionally or alternatively, determining whether thespeaker of the utterance is a known user includes determining whether avisual image of at least a portion of the speaker matches visualinformation corresponding to the particular known user.

If the process 200 determines that the speaker of the utterance is aknown user, the process 200 includes determining whether the known useris associated with a personal voice number (218). For example, thespeech-enabled device 125 may determine that the known user “Matt” hasaccount information that indicates a call provider that the known userwould like to use when placing calls through the speech-enabled device125 and, in response, determine the known user is associated with apersonal phone number. In another example, the speech-enabled device 125may determine that the known user “Dad” does not have accountinformation that indicates a call provider that the known user wouldlike to use when placing calls through the speech-enabled device 125and, in response, determine the known user is not associated with apersonal phone number.

If the process 200 determines that the known user is associated with apersonal voice number, the process 200 includes initiating a call withthe personal voice number (220). For example, the speech-enabled device125 may contact the call provider indicated by the account informationof “Matt” and request a call be placed for “Matt” to the phone number(555) 999-9999.

Returning to 218, if the process 200 determines that the known user isnot associated with a personal voice number, the process includesinitiating an anonymous call (222). For example, the speech-enableddevice 125 may request that a call provider place an anonymous call to(555) 999-9999.

Returning to 216, if the process 200 determines that the speaker of theutterance is not a known user, the process 200 includes initiating ananonymous call (222) as described above for 222.

While determining whether the call is to emergency services (212) isshown first in the process 200, the process 200 may be different. Forexample, the process 200 may instead first determine that the speaker isa known user as described above in (216), then determine that the knownuser is associated with a personal voice number as described above in(218), and next determine that the call is to emergency services asdescribed above in (212), and then use the personal voice number of theknown user. One reason to provide the personal voice number of a knownuser to emergency responders, instead of a temporary number for thespeech-enabled device 125, is that emergency responders can then contactthe known user whether or not the known user is near the speech-enableddevice 125.

FIG. 3 is a flow diagram that illustrates an example of a process 300for determining a voice number to call. The operations of the process300 may be performed by one or more computing systems, such as thesystem 100 of FIGS. 1A-1D.

The process 300 includes receiving an utterance requesting a call (310).For example, the speech-enabled device 125 may receive an utterance fora user 110 requesting a call such as “OK Computer, call Grandma.”

The process 300 includes determining if the speaker of the utterance isa known user (312). For example, the speech-enabled device 125 mayclassify the speaker as the known user “Mom.”

If the process 300 determines that the speaker of the utterance is aknown user, then the process 300 includes determining if personalcontacts are available for the known user (314). For example, thespeech-enabled device 125 may determine that personal contacts areavailable for the known user “Mom” based on determining that thespeech-enabled device 125 has access to contact records for the knownuser “Mom.” Personal contacts for a known user may refer to telephonecontact entries that were created for the known user. For example, aknown user may create a telephone contact entry for the known user byopening an interface for creating a new telephone contact entry, typingin a phone number “(123) 456-7890” and a contact name “John Doe,” andthen selecting to create a telephone entry labeled with a name of “JohnDoe” and indicating a phone number of “(123) 456-7890.” A contact listof a known user may be formed by all the personal contacts for the knownuser. For example, the contact list for a known user may include acontact entry for “John Doe” as well as other contact entries created bythe known user.

If the process 300 determines that personal contacts are available forthe known user, then the process 300 includes determining a numberassociated with the recipient using the personal contacts (316). Forexample, the speech-enabled device 125 scans the personal contact listfor the recipient, “Grandma,” from contact records of the known user“Mom,” and retrieves the number associated with “Grandma.”

Returning to 314, if the process 300 instead determines that thepersonal contacts for the known user are not available, the process 300includes determining the recipient number without the personal contactsassociated with the known user (318). For example, the speech-enableddevice 125 may search the Internet for the recipient number. In thisexample, the speech-enabled device 125 may search the Internet forrecipient numbers corresponding to “Grandma” that may be nearby to theknown user using geographic locational service, be unable to identify arecipient number, and provide a voice message to the known user stating“Contact number not found.” If a recipient number is not found, thespeech-enabled device 125 may prompt the speaker to speak a voice numberto call and then call that number.

Returning to 312, if the process 300 instead determines that the speakerof the utterance is not a known user, the process 300 includesdetermining the recipient number without the personal contacts (318) asdescribed above.

FIG. 4 is a block diagram that illustrates an example interaction with aspeech-enabled device during a call. FIG. 4 illustrates variousoperations in stages (A) through (C) which can be performed in thesequence indicated or in another sequence.

In some implementations, the speech-enabled device 125 may performactions in response to detecting an utterance including a predeterminedphrase, such as a hotword, that a user speaks to address thespeech-enabled device 125 during a call. For example, FIG. 4 illustratesthe speech-enabled device 125 receiving an utterance “OK Computer, callStore X,” classifying a speaker as a known speaker, “Matt,” and placinga call to Store X with a stored phone number for “Matt.” In addition,the speaker, “Matt” may communicate commands to the speech-enableddevice 125 during the call unheard to the recipient 155. In response tothe commands during a phone call, the speech-enabled device 125 canblock at least a portion of the utterance from the recipient.

During stage (A), the speech-enabled device 125 receives an utterance120 “OK Computer, call Store X.” In response to receiving the utterance120, the speech-enabled device 125 classifies the speaker using one ofthe aforementioned methods as a known speaker, “Matt,” and returns aresponse to “Matt” reciting “Calling Store X with your number.” Theresponse indicates to the user 110 that the speech-enabled device 125understood the utterance by classifying the speaker, taking an actionassociated with the command, and using a number associated with “Matt”.During stage (B), the speech-enabled device 125 initiates a call to therecipient 155, e.g., Store X. For example, the speech-enabled device 125initiates a phone call between the user 110 and the recipient 155. Thespeech-enabled device 125 calls the recipient 155 using user 110'snumber that can be used by the recipient 155 to call back the user 110.The recipient 155 answers the phone call by saying “Hello?” In response,the user 110 speaks to the recipient 155 via speech-enabled device 125,“Hey Store, are you open?” The recipient 155 responds with “Yep, closeat 10 PM.”

During stage (B), the speech-enabled device 125 detects a hotword from acommand from user 110 during the phone call with the recipient 155. Forexample, the speech-enabled device 125 obtains a command from user 110reciting “OK Computer, what time is it.” In response to the receivedutterance during the phone call, the speech-enabled device 125 transmitsthe user 110 speaking the hotword “OK Computer” but then blocks off thecommand after the hotword so the recipient 155 hears “OK Computer” butnot “What time is it.” The speech-enabled device 125 responds to onlythe user 110 reciting “It's 9 PM” so that the recipient 155 does nothear the response. Alternatively, an amount of latency can be introducedinto the communication to permit the speech-enabled device 125 to detecthotwords prior to broadcasting the same to the recipient as part of thecall. In this way, not only the instruction associated with the hotwordbut the hotword itself can be blocked from delivery to the recipient aspart of the call.

In some implementations, the speech-enabled device 125 may prevent therecipient 155 from hearing communication between the user 110 and thespeech-enabled device 125 by placing a 2-way hold between the user 110and recipient 155 after detecting the user 110 speaks a hotword. Duringa 2-way hold, the recipient 155 and the user 110 may not be able to hearone another. For example, in response to receiving the utterance “OKComputer, what time is it,” the speech-enabled device 125 may initiate a2-way hold right after “OK Computer” and before “what time is it,” sothat the recipient 155 at Store X only hears “OK Computer.”

The speech-enabled device 125 may end the 2-way hold once thespeech-enabled device 125 determines that a command from the user hasbeen resolved. For example, the speech-enabled device 125 may determinethat a response of “It's 9 PM” answers the user's question of “What timeis it,” and in response, end the 2-way hold. In another example, thespeech-enable device 125 may respond “What day would you like to set thealarm at 7 PM” and continue a 2-way hold for the user 110 to provide aday in response to the user 110 saying “OK Computer, set an alarm for 7PM.” In other embodiments, the user 110 may request the speech-enableddevice 125 to place the call on hold, e.g., by reciting “OK Computer,place call on hold.” The speech-enabled device 125 may continue to holdthe call until the user requests to end the hold, e.g., by reciting “OKcomputer, resume call.”

In some implementations, the speech-enabled device 125 may blockcommands that have a long interaction with the user 110. For example,the speech-enabled device 125 may block features related to playingmedia such as music, news, or podcast; playing a daily brief; thirdparty conversation actions; making an additional phone call; and,playing games, such as trivia. The speech-enabled device 125 may providean error when blocking these features, e.g., outputting “Sorry, musiccannot be played during a call,” or ignore any command associated withone of these tasks and continue the phone call.

During stage (C), the speech-enabled device 125 detects a hotword fromanother command from user 110 during the phone call with the recipient155 at Store X. For example, the speech-enabled device 125 obtains acommand from user 110 reciting “OK Computer, hang up.” In response tothe received utterance during the phone call, the speech-enabled device125 responds to the user 110 reciting “Call Ended” or a non-verbal audiocue. Additionally, the speech-enabled device 125 does not transmit theresponse “Call Ended” or non-verbal audio cue to the recipient 155 atStore X.

FIG. 5 is a block diagram that illustrates an example of a system 500for interacting with a speech-enabled device placing a call. The system500 includes the speech-enabled device 125, an assistant server 502, acontacts database 504, a voice server 506, client devices 510, a network508, and communication links 512 and 514.

In some implementations, the speech-enabled device 125 can include oneor more computers, and may include computers distributed across multiplegeographic locations. The speech-enabled device 125 communicates withone or more client devices 510, an assistant server 502, and a voiceserver 506.

In some implementations, the assistant server 502 and the voice server506 can each include one or more computers, and may include computersdistributed across multiple geographic locations. The assistant server502 communicates with the speech-enabled device 125 and a contactsdatabase 504. The voice server 506 communicates with the speech-enableddevice 125 and one or more recipients, such as Store X.

The client devices 510 can be, for example, a desktop computer, a laptopcomputer, a tablet computer, a wearable computer, a cellular phone, asmart phone, a music player, an e-book reader, a navigation system, orany other appropriate computing device. The network 508 can be wired orwireless of a combination of both, and can include the Internet.

In some implementations, the speech-enabled device 125 may connect tothe client devices 510 over communication links 512 using short-rangecommunication protocols, such as Bluetooth, WiFi, or other short-rangecommunication protocols. For example, the speech-enabled device 125 maypair and connect up to 7 different client devices 510, each with anassociated communication link 512. In some implementations, thespeech-enabled device 125 may route audio from one of the client devices510 at any given time.

In some implementations, the speech-enabled device 125 may receive anutterance “OK Computer, call Store X” 120 from user 110. Thespeech-enabled device 125 may further classify the speaker (user 110) asa known speaker, “Matt.” For example, the speech-enabled device 125 maycompare speaker identification features included in the user accountinformation associated with “Matt” to the received hotword spoken byuser 110. The speech-enabled device 125 may determine the user 110 is“Matt” in response to the comparison. In some implementations, thespeech-enabled device 125 may then transmit an audio representation ofthe utterance as a query to the assistant server 502 for furtherprocessing.

In some implementations, the speech-enabled device 125 may stop variousevents when a user 110 requests to place a call. For example, thespeech-enabled device 125 may stop playing music or an alarm once a usersays “OK Computer, call Store X.” To stop various events when a user 110requests to place a call, the speech-enabled device 125 may storeparticular types of events that should be stopped when a user isrequesting to play a call and, in response to detecting that a user isplacing a call, end those stored particular types of events. Forexample, the speech-enabled device 125 may store that the events ofplaying music and alarms are to be stopped when a user places a calland, in response to detecting that a user is placing a call, end anyevents of playing music and alarms but continue other events.

In some implementations, the speech-enabled device 125 may require user110 to disable any events before placing a phone call. For example, thespeech-enabled device 125 may currently be playing music or ringing dueto an alarm or timer. The speech-enabled device 125 may not allow user110 to make any calls until the user 110 dismisses the music, or ringingdue to an alarm or timer. In some implementations, the user 110 maydisable the music or ringing due to an alarm or timer by saying “OKComputer, turn off Music” or “OK Computer, turn off Alarm,”respectively. In other implementations, the user 110 may disable themusic or ringing due to an alarm or timer by tapping an interactivebutton on the speech-enabled device 125. For example, the speech-enableddevice 125 may store particular events that require user interaction todisable when the user requests to place a call. In response to detectingthat the user requests to place a call and at least one of theparticular events is happening, the speech-enabled device 125 may recitea warning message to the user saying “Please disable event before makingcall” and ignore the request to place a call. Once the user commands thespeech-enabled device 125 to disable the particular event, by eithersending a voice command to the speech-enabled device 125 or tapping theinteractive button on the speech-enabled device 125, the user may thenrequest the speech-enabled device 125 to place a call.

In some implementations, the speech-enabled device 125 may warn the user110 of an upcoming alarm in response to receiving a command from theuser 110 to place a phone call. For example, the user 110 may set analarm to ring on the speech-enabled device 125 at 6:30 PM. The user 110may say the utterance “OK Computer, call Store X” to the speech-enableddevice 125 at 6:29 PM. In response to receiving the utterance, thespeech-enabled device 125 may output to the user saying “Please disablethe alarm before placing the phone call” or “An alarm is set for 6:30 PMin one minute, would you like to disable this alarm before I place thiscall?” Subsequently, the user 110 may disable the alarm or let the alarmpass before placing the phone call with the speech-enabled device 125.

In some implementations, the speech-enabled device 125 may warn the user110 of an upcoming alarm based on determining whether an alarm is set togo off within a predetermined length of time, e.g., one minute, fiveminutes, fifteen minutes, or some other length of time, of a phone callbeing placed. For example, the speech-enabled device 125 may receive arequest to place a call at 6:29 PM, determine that within five minutesof 6:29 PM an alarm is set at 6:30 PM, and in response to determiningthat an alarm is set within five minutes of 6:29 PM, provide a warningto the user 110 of the upcoming alarm.

In some implementations, the assistant server 502 obtains the request516. For example, the speech-enabled device 125 may send data thatincludes a search request indicating the audio representation of theutterance received from user 110. The data may indicate the identifiedknown speaker, “Matt,” the audio representation of the utterance, “OKComputer, call Store X” 120, a unique ID associated with thespeech-enabled device 125, and a personal results bit associated withthe identified known speaker, “Matt.” The unique ID associated with thespeech-enabled device 125 indicates to the assistant server 502 where tosend a response. For example, the unique ID may be an IP address, a URL,or a MAC address associated with the speech-enabled device 125.

In some implementations, the assistant server 502 processes the obtainedrequest 516. Specifically, the assistant server 502 parses the obtainedrequest 516 to determine a command associated with the utterance. Forexample, the assistant server 502 may process the obtained request 516by converting the audio representation of the utterance to a textualrepresentation of the utterance. In response to the conversion, theassistant server 502 parses the textual representation for the commandfollowing the hotword, “call Store X.” In some implementations, theassistant server 502 determines an action associated with the textualcommand. For example, the assistant server 502 determines the actionfrom the obtained request 516 is to “call Store X” by comparing thetextual action “call” to stored textual actions.

In addition, the assistant server 502 resolves a number for therecipient, “Store X,” by accessing the contacts database 504. In someimplementations, the assistant server 502 accesses the contacts database504 to retrieve a contact associated with a known user. The contactsdatabase 504 stores the contacts by indexing the contacts by a knownuser name associated with the contacts. For example, the contactsdatabase 504 includes an entry for “Matt” that further includes personalcontacts associated with ‘Matt.” The personal contacts include a nameand associated number, such as “Mom”—(555) 111-1111, “Dad”—(555)222-2222, and “Store X”—(555) 333-3333.

Additionally, the assistant server 502 may only resolve a number for therecipient when the personal results bit, received in the obtainedrequest 516, is enabled. If the personal results bit is not enabled, or“0,” then the assistant server 502 transmits an identifier in the actionmessage 518 to indicate to the speech-enabled device 125 to relay amessage to the user 110 that recites “Please allow Computer to accessPersonal Contacts.” If the personal results bit is enabled, or “1,” thenthe assistant server 502 accesses the contacts database 504 for theidentified known speaker's personal contacts. In some implementations,the assistant server 502 retrieves a number associated with therecipient in the identified known speaker's personal contacts. In thisexample, the assistant server 502 retrieves the number (555) 333-3333for Store X. In other implementations, the number for the recipient maybe included in the textual representation for the command following thehotword. For example, the command may include “OK Computer, call555-333-3333.”

In some implementations, the assistant server 502 may identify arecipient in the obtained request 516 that is not found in theidentified known speaker's personal contacts in the contact database504. For example, the assistant server 502 may determine the textualrepresentation for the command following the hotword from the obtainedrequest 516 includes “call Grandma.” However, the personal contacts fromthe contacts database 504 associated with “Matt” do not include an entryfor “Grandma.” Rather, the contacts include “Mom,” “Dad,” and “Store X.”In order to resolve the number for the recipient, “Grandma,” theassistant server 502 may search other databases and/or the Internet tofind the number for “Grandma.”

In searching other databases and/or the Internet, the assistant server502 may search in a knowledge graph. For example, the assistant server502 may not match “Company X Customer Service” with any record in auser's personal contacts, then search the knowledge graph for an entitywith the name “Company X Customer Service,” and identify a phone numberstored in the knowledge graph for that entity.

In some implementations, the command may include calling a business ingeographical proximity to the speech-enabled device 125. The assistantserver 502 may search the Internet for a voice number associated withthe nearest business to the speech-enabled device 125. However, shouldthe assistant server 502 not find a number associated with the requestedrecipient, the assistant server 502 may transmit an identifier in theaction message 518 to indicate to the speech-enabled device 125 to relaya message to the user 110 that recites “Contact Not Found.” For example,the assistant server 502 may search in a maps database for a nearbylocal business with a name of “Store X” if unable to find a phone numberfor “Store X” in the personal contact records or knowledge graph.

In some implementations, the assistant server 502 may determine that thenumber included in the command may be an unsupported voice number. Forexample, the number may only include 7 digits, such as 123-4567. Inresponse, the assistant server 502 may transmit an identifier in theaction message 518 to indicate to the speech-enabled device 125 to relaya message to the user 110 that recites “Phone Number Not Supported.”

In response to determining a contact number associated with therecipient, the assistant server 502 generates an action message 518 tothe speech-enabled device 125. Specifically, the action message 518 mayinclude the contact number and an action to trigger the call. Forexample, the action message 518 may include the phone number for “StoreX” as 555-333-3333 and the action instructing the speech-enabled device125 to immediately call “Store X.” In some implementations, theassistant server 502 may include in the action message 518 an outboundnumber to use based on a context of the command. For example, if thecommand includes a call to emergency services, the assistant server 502may include a number in the action message 518 that the recipient 155can use to call back the speech-enabled device 125 for a particularperiod of time. For example, the phone number, (555) 888-8888, may beused for the next couple hours to place a call back to thespeech-enabled device 125.

In some implementations, the speech-enabled device 125 obtains theaction message 518 from the assistant server 502. In response toobtaining the action message 518, the speech-enabled device 125 takesaction on the action message 518. For example, the action messageindicates to the speech-enabled device 125 to call “Store X” using theindicated phone number, 555-333-3333.

In some implementations, the speech-enabled device 125 may call arecipient as designated by the assistant server 502 using a voice server506 or an associated client device 510 based on a preference of user110. Specifically, the preference of user 110 may be stored in thespeech-enabled device 125. For example, the speech-enabled device 125may determine that the preference of user 110 is to use the voice server506, or voice over IP (VoIP), for any outbound calls. As such, thespeech-enabled device 125 sends an indication to the voice server 506 tocall the recipient. In some implementations, the voice server 506 mayuse an associated number for the outbound call. In some implementations,the speech-enabled device 125 may enable a user to select to use a VoIPprovider from among multiple different VoIP providers and then use thatVoIP provider when that user initiates future calls.

In some implementations, the speech-enabled device 125 may use a numberassociated with the voice server 506 to call emergency services inresponse to determining that user 110 is near the speech-enabled device125. For example, the speech-enabled device 125 may call emergencyservices using the number associated with the voice server 506 inresponse to determining that one of the client devices 510 is connectedto the speech-enabled device 125. By ensuring the connection between theclient device 510 and the speech-enabled device 125, the speech-enableddevice 125 can ensure the user 110 is near the speech-enabled device125.

Alternatively, the speech-enabled device 125 may determine that asecondary preference of user 110 is to use an existing client device 510to place an outbound call to the recipient. If the speech-enabled device125 determines that the secondary preference of the user 110 is to callthe recipient using an associated client device 510, the speech-enableddevice 125 will verify a communication link 512 to the client device510. For example, the speech-enabled device 125 may verify a Bluetoothconnection to the client device 510. If the speech-enabled device 125cannot create a Bluetooth connection to the client device 510, thespeech-enabled device 125 may relay a message to user 110 reciting“Please make sure your Bluetooth connection is active.” Once theBluetooth connection is established, the speech-enabled device 125 sendsan indication to the client device 510 to call the recipient. In otherembodiments, should the speech-enabled device 125 not be able todiscover the client device 510 by any means of short range communicationprotocols, the speech-enabled device 125 may place a phone call to therecipient using a private number with the voice server 506 to therecipient.

In some implementations, the speech-enabled device 125 may play anaudible sound for the user 110 to hear in response to connecting to therecipient phone. For example, the speech-enabled device 125 may play anaudible ringing tone if the recipient phone is available for answering.In another example, the speech-enabled device 125 may play a busy signaltone if the recipient phone is unavailable for answering. In anotherexample, the speech-enabled device 125 may provide a voice message tothe user if the recipient phone number is invalid, such as “Phone NumberNot Supported.” In other embodiments, the user 110 may tap aninteractive button on the speech-enabled device 125 to disconnect a callto the recipient phone during an attempt to connect the call to therecipient phone.

In some implementations, the speech-enabled device 125 may redial a mostrecent call placed by the user 110. For example, user 110 can say “OKComputer, Redial” without saying the number and the speech-enableddevice 125 will redial the last recipient number called. In someimplementations, for the speech-enabled device 125 to redial a mostrecent call, the speech-enabled device 125 stores the settingsassociated with the most recent call in memory after each call. Thesettings associated with the most recent call in memory includes theuser to place the call, the number used to make the call, and therecipient's number.

In some implementations, the speech-enabled device 125 may receive DualTone Multiple Frequencies (DTMF) tones to navigate interactive voiceresponse systems. For example, user 110 can say “OK Computer, press N,”where N is a * key, a # key, or a number between 0 and 9. In response,the speech-enabled device 125 may place a 2-way hold after detecting “OKComputer,” generate a dial tone for the number N that is transmitted tothe recipient 155, and end the 2-way hold.

In some implementations, the speech-enabled device 125 may provide astatus light to the user 110. For example, the status light can be anLED light to indicate a status of the speech-enabled device 125. Thestatus light may change color, blinking duration, or brightness toindicate connecting a call, a connected call, a call ended, receiving avoice command from a user, and providing a message to user 110.

In some implementations, the user 110 may end the call with a specificvoice command. For example, the user 110 can say “OK Computer, stop thecall,” “OK Computer, hang up,” or “OK Computer, disconnect the call.” Insome implementations, the recipient may end the phone call. After a callis ended, the speech-enabled device 125 may play an audible busy toneand return the speech-enabled device 125 to a previous state beforeconnecting the phone call. For example, returning the speech-enableddevice 125 to a previous state may include continuing to play media,such as a song, at a point where the media stopped when the call wasinitiated.

In some implementations, the speech-enabled device 125 may indicate whenan incoming call is received. For example, the speech-enabled device 125may flash an LED, audibly output a ringing noise, or audibly output“Incoming call,” to indicate that the speech-enabled device 125 isreceiving a call. In response, the user 110 may take an action towardsthe incoming call. For example, the user 110 may answer the call bysaying one of the following: “OK Computer, pick up,” “OK Computer,Answer,” “OK Computer, Accept,” or “OK Computer, Yes,” to name a fewexamples. In another example, the user 110 may refuse the call anddisconnect the attempt for a connection by saying one of the following:“OK Computer, No,” “OK Computer, Refuse,” or “OK Computer, Hang-up,” toname a few examples.

In some implementations, the speech-enabled device 125 may only acceptincoming calls made through a temporary number. Specifically, thespeech-enabled device 125 may ring only when the incoming call isreceived from a call to the temporary number that was used to place anoutgoing call to emergency services. For example, the speech-enableddevice 125 may use a number (555) 555-5555 as a temporary number foroutbound calls to dial emergency services, and may only accept incomingcalls to the number (555) 555-5555.

In some implementations, the user 110 may transfer an incoming call onanother device to the speech-enabled device 125 to use as a speakerphone. The user 110 may transfer the call while the call is ringing orduring the call. For example, the user 110 may say “OK Computer,transfer call from my phone to you.” In some implementations, thespeech-enabled device 125 may communicate with the other device using ashort range communication protocol to transfer the phone call. Forexample, the speech-enabled device 125 may connect to the other deviceusing Bluetooth or WiFi for example, to instruct the other device toroute a current phone call to a speaker of the speech-enabled device125.

In some implementations, the user 110 may transfer a call from thespeech-enabled device 125 to a client device 510. Specifically, the user110 may transfer the call while the call is ringing or during the call.This may be performed if the client device 510 is connected to thespeech-enabled device 125 using at least one of the short rangecommunication protocols, such as Bluetooth. For example, the user 110may say “OK Computer, transfer call to my phone.” Additionally, the user110 may transfer a call from one speech-enabled device 125 to anotherspeech-enabled device 125 located in a separate room. For example, theuser 110 may say “OK Computer, transfer call to bedroom Computer.” Ifthe client device 510 or the other speech-enabled device 125 is notpowered on or connected to the speech-enabled device 125, then thespeech-enabled device 125 may recite “Please turn on device to establishconnection.”

FIG. 6 is a flow diagram that illustrates an example of a process 600for determining a caller number. The operations of the process 600 maybe performed by one or more computing systems, such as the system 500.

The process 600 includes receiving an utterance that requests a voicecall (610). For example, the speech-enabled device 125 may receive anutterance when a user says “OK Computer, call (123) 456-7890” and amicrophone in the speech-enabled device 125 then generates audio datacorresponding to the utterance. In some implementations, a voice callmay refer to a call that includes only audio. In other implementations,a voice call may refer to a call that does not only include audio, e.g.,a videoconference call that includes both audio and video.

The process 600 includes classifying the utterance as spoken by aparticular known user (620). For example, the speech-enabled device 125may classify the utterance “OK Computer, call (123) 456-7890” as havingbeen spoken by a particular known user “Matt.” In another example, thespeech-enabled device 125 may classify the utterance “OK Computer, call(123) 456-7890” as having been spoken by a user that is not known to thespeech-enabled device.

Classifying the utterance as spoken by a particular known user mayinclude determining whether speech in the utterance matches speechcorresponding to the particular known user. For example, as previouslydescribed, the speech-enabled device 125 may store MFCCs correspondingto the known user “Matt” previously speaking a hotword “OK Computer,”determine MFCCs from the hotword “OK Computer” in the utterance justreceived, then determine the MFCCs from the utterance match the MFCCsstored for the known user “Matt,” and, in response, classify theutterance as spoken by the known user “Matt.” In another example, thespeech-enabled device 125 may store MFCCs corresponding to the knownuser “Matt” previously speaking a hotword “OK Computer,” determine MFCCsfrom the hotword “OK Computer” in the utterance just received, thendetermine the MFCCs from the utterance do not match the MFCCs stored forthe known user “Matt,” and, in response, not classify the utterance asspoken by the known user “Matt.”

Classifying the utterance as spoken by a particular known user mayinclude determining whether a visual image of at least a portion of thespeaker matches visual information corresponding to the particular knownuser. For example, as previously described above, the speech-enableddevice 125 may include a camera, obtain an image of the speaker's facecaptured by the camera, determine that the speaker's face in the imagematches information that describes the face of the known user “Matt,”and, in response to that determination, classify the speaker as theknown user “Matt.” In another example, the speech-enabled device 125 mayinclude a camera, obtain an image of the speaker's face captured by thecamera, determine that the speaker's face in the image does not matchinformation that describes the face of the known user “Matt,” and, inresponse to that determination, classify the speaker as not being theknown user “Matt.” In some implementations, the visual image and speechmay be considered in combination to classify whether the utterance wasspoken by a particular known user.

The process 600 includes determining whether the particular known useris associated with a personal voice number (630). For example, thespeech-enabled device 125 may determine that the known user “Matt” isassociated with a personal phone number of (555) 222-2222. In anotherexample, the speech-enabled device 125 may determine that the particularknown user “Dad” is not associated with a personal number.

Determining whether the particular known user is associated with apersonal voice number may include accessing account information of theparticular known user and determining whether the account information ofthe user stores a voice number for the particular known user. Forexample, the speech-enabled device 125 may access account information ofthe known user “Matt” stored on the speech-enabled device 125, determinethat the account information includes a personal phone number of (555)222-2222 and, in response, determine that the known user “Matt” isassociated with a personal number. In another example, thespeech-enabled device 125 may access account information of the knownuser “Dad” stored on the speech-enabled device 125, determine that theaccount information does not include a personal phone number and, inresponse, determine that the known user “Dad” is not associated with apersonal number.

Additionally or alternatively, determining whether the particular knownuser is associated with a personal voice number may include providing,to a server, an indication of the particular known user and arepresentation of the utterance and receiving, from the server, thepersonal voice number of the particular known user, a voice number tocall, and an instruction to place a voice call. For example, in someimplementations the speech-enabled device 125 may not store personalphone numbers and the assistant server 502 may store personal phonenumbers. Accordingly, the speech-enabled device 125 may provide theassistant server 502 an audio representation of the utterance “OKComputer, call (123) 456-7890” along with an indication that the speakeris the known user “Matt.” The assistant server 502 may then transcribethe utterance, determine from “Call” in the transcription that theutterance is requesting to initiate a call, determine from thetranscription that “(123) 456-7890” is the number to call, in responseto determining that the utterance is requesting a call, access storedaccount information for the known user “Matt,” determine the storedaccount for the known user “Matt” includes a personal voice number of(555) 222-2222 and, in response, provide an instruction to thespeech-enabled device 125 to place a call to the number (123) 456-7890showing (555) 222-2222 as the telephone number that is initiating thecall.

Determining whether the particular known user is associated with apersonal voice number may include accessing an account of the particularknown user, determining whether the account of the user indicates aphone, and determining that the phone is connected with a speech-enableddevice. For example, after the speech enabled device 125 classifies theutterance as having been spoken by the known user “Matt,” thespeech-enabled device 125 may access stored account information todetermine whether a particular phone is indicated as being associatedwith the known user “Matt,” in response to determining that the accountindicates a particular phone, determine whether the particular phone isconnected, e.g., through Bluetooth®, and, in response to determiningthat the particular phone is connected, then initiate the telephone callthrough the particular phone.

The process 600 includes initiating the voice call with the personalvoice number (640). For example, the speech-enabled device 125 mayprovide an instruction to the voice server 506 to initiate a call to“(123) 456-7890” using the personal number of “(555) 222-2222.” In someimplementations, initiating the telephone call with the personal voicenumber may include initiating the telephone call through a VoIP callprovider. For example, the voice server 506 may be a VoIP provider andthe speech-enabled device 125 may request the voice server 506 initiatethe call. In another example, the speech-enabled device 125 may providean instruction to initiate a call to a phone associated with the knownuser “Matt” determined to be connected to the speech-enabled device.

FIG. 7 is a flow diagram that illustrates an example of a process fordetermining a recipient number to call. The operations of the process600 may be performed by one or more computing systems, such as thesystem 500.

The process 700 includes receiving an utterance that requests a voicecall (710). For example, the assistant server 502 may receive, from thespeech-enabled device 125, a representation of an utterance of “CallGrandma” and an indication that the utterance was determined by thespeech-enabled device 125 as having been spoken by the known user“Matt.” The indication may be an inclusion of an alphanumeric value thatuniquely identifies an account of Matt from accounts of other users, ora binary value associated with the alphanumeric value that indicateswhether the speaker of the utterance is associated with the accountidentified by the alphanumeric value.

The process includes classifying the utterance as spoken by a particularknown user (720). For example, the assistant server 502 may classify theutterance as having been spoken by the known user “Matt.” Classifyingthe utterance as spoken by a particular known user may include obtainingan indication that speech in the utterance was determined by aspeech-enabled device to match speech corresponding to the particularknown user. For example, the assistant server 502 may determine that thespeech-enabled device 125 provided a value of “854978” that uniquelyidentifies the account of known user “Matt” as matching the speaker ofthe utterance “Call Grandma” and, in response, classify the utterance ashaving been spoken by the known user “Matt.”

Additionally or alternatively, classifying the utterance as spoken by aparticular known user may include determining whether speech in theutterance matches speech corresponding to the particular known user. Forexample, the assistant server 502 may generate MFCCs from the audiorepresentation of the utterance, determine whether the MFCCs from theutterance match stored MFCCs for the known user “Matt,” and, in responseto determining that the MFCCs match, and classify the utterance ashaving been spoken by the known user “Matt.”

The process 700 includes in response to classifying the utterance asspoken by the particular known user, determining a recipient voicenumber to call based on contacts for the particular known user (730).For example, in response to classifying “Call Grandma” as spoken by theknown user “Matt,” the assistant server 502 may determine a recipientnumber of “(987) 654-3210” to call based on telephone contacts storedfor the known user “Matt.” In another example, in response toclassifying “Call Grandma” as spoken by the known user “Dad,” theassistant server 502 may determine a recipient number of “(876)543-2109” to call based on telephone contacts stored for the known user“Dad.”

Obtaining contact entries created by the particular known user mayinclude, in response to classifying the utterance as spoken by theparticular known user, determining that contact entries of theparticular known user are available and, in response to determining thatcontact entries of the particular known user are available, obtainingcontact entries created by the particular known user. For example, inresponse to classifying the utterance as spoken by known user “Matt,”the assistant server 502 may determine that telephone contact entriesfor the known user “Matt” are available, and, in response, access thetelephone contact entries of the known user “Matt.”

Determining that contact entries of the particular known user areavailable may include determining whether the particular known userpreviously indicated that the particular known user would likepersonalized results. For example, the assistant server 502 may receivea personalized results bit from the speech-enabled device 125 along withan utterance, determine that the personalized results bit is set to avalue that indicates that the known user “Matt” would like personalizedresults, and, in response, determine that telephone contact entries ofthe known user “Matt” are available. In another example, the assistantserver 502 may receive a personalized results bit from thespeech-enabled device 125 along with an utterance, determine that thepersonalized results bit is set to a value that indicates that the knownuser “Dad” would not like personalized results, and, in response,determine that telephone contact entries of the known user “Dad” are notavailable.

In response to classifying the utterance as spoken by the particularknown user, determining a recipient voice number to call based oncontacts for the particular known user may include in response toclassifying the utterance as spoken by the particular known user,obtaining contact entries created by the particular known user,identifying a particular contact entry from among the contact entrieswhere the particular contact entry includes a name that matches theutterance, and determining a voice number indicated by the particularcontact entry as the recipient voice number. For example, in response toclassifying the utterance “Call Grandma” as spoken by a known user“Matt,” the assistant server 502 may obtain telephone contact entriescreated by the known user “Matt,” identify that one of the telephonecontact entries is named “Grandma” that matches “Grandma” in theutterance and has a number of “(987) 654-3210,” and, determine therecipient telephone number is the number “(987) 654-3210.”

Identifying a particular contact entry from among the contact entrieswhere the particular contact entry includes a name that matches theutterance may include generating a transcription of the utterance anddetermining that the transcription includes the name. For example,assistant server 502 may generate a transcription of the utterance “CallGrandma,” determine that “Grandma” from the transcription is identicalto a name of “Grandma” for a telephone contact entry of the known user“Matt,” and, in response, identify the contact entry named “Grandma.”

The process 700 includes initiating the voice call to the recipientvoice number (740). For example, the assistant server 502 may initiate acall to the recipient telephone number of “(987) 654-3210” obtained fromthe known user's telephone contact entry named “Grandma.” Initiating thevoice call to the recipient voice number may include providing, to aspeech-enabled device, the recipient voice number and an instruction toinitiate a voice call to the recipient voice number. For example, theassistant server 502 may provide the speech-enabled device 125 aninstruction to initiate a call to the number (987) 654-3210 with thenumber of (555) 222-2222.

In some implementations, the process 700 may include receiving a secondutterance that requests a second voice call, classifying the secondutterance as not being spoken by any known user of the speech-enableddevice 125, and in response to classifying the second utterance as notbeing spoken by any known user of the speech-enabled device, initiatinga second voice call without accessing contacts for any known user of thespeech-enabled device. For example, the assistant server 502 may receivea second utterance of “Call Store X,” classify the second utterance asnot being spoken by any known user of the speech-enabled device 125 anddetermine the “Store X” in the utterance is not a phone number, and inresponse to classifying the second utterance as not being spoken by anyknown user of the speech-enabled device and that “Store X” in theutterance is not a phone number, search a maps database for a nearbylocal business with a name of “Store X,” identify a single nearby localbusiness with the name “Store X” and a phone number of “(765) 432-1098”and, in response, initiate a second telephone call to (765) 432-1098without accessing telephone contacts for any known user of thespeech-enabled device.

FIG. 8 is a flow diagram that illustrates an example of a process forhandling queries during a voice call. The operations of the process 800may be performed by one or more computing systems, such as the system500.

The process 800 includes determining that a first party has spoken aquery for a voice-enabled virtual assistant during a voice call betweenthe first party and a second party (810). For example, thespeech-enabled device 125 may determine that a user has spoken a queryfor the assistant server 502 during a telephone call between the userand another person. Determining that a first party has spoken a queryfor a voice-enabled virtual assistant during a telephone call betweenthe first party and a second party may include determining, by aspeech-enabled device, that a hotword was spoken by the first partyduring the telephone call. For example, the speech-enabled device 125may determine that the hotword “OK Computer” has been spoken while acall is ongoing through the speech-enabled device 125. A call may beconsidered ongoing through the speech-enabled device 125 when amicrophone and speaker of the speech-enabled device 125 are being usedto pick up speech from the user for the other person and output speechof the other person to the user.

The process 800 includes in response to determining that the first partyhas spoken the query for the voice-enabled virtual assistant during thetelephone call between the first party and the second party, placing thevoice call between the first party and the second party on hold (810).For example, in response to determining that the first party has spokena query of “OK Computer, what's my next appointment?” for thevoice-enabled virtual assistant during the telephone call between thefirst party and the second party, the speech-enabled device 125 mayplace the telephone call on a two-way hold. The voice call may be placedon a two-way hold so that the other person may not hear a query to thevoice-enabled virtual assistant from the user and may not hear aresponse to the query from the voice-enabled virtual assistant.

The process 800 includes placing the voice call on hold (820). Forexample, the speech-enabled device 125 may place the telephone call on atwo-way hold. Placing the voice call between the first party and thesecond party on hold may include providing an instruction to a voicecall provider to place the voice call on hold. For example, thespeech-enabled device 125 may instruct the voice server 506 to place anongoing call on hold. Additionally or alternatively, placing the voicecall between the first party and the second party on hold may includerouting audio from a microphone to the voice-enabled virtual assistantinstead of a voice server and routing audio from the voice-enabledvirtual assistant to a speaker instead of audio from the voice server.For example, the speech-enabled device 125 may route audio from themicrophone in the speech-enabled device 125 to the assistant server 502instead of the voice server 506 and route audio from the assistantserver 502 to the speaker of the speech-enabled device 125 instead ofaudio from the voice server 506.

The process 800 includes determining that the voice-enabled virtualassistant has resolved the query (830). For example, the speech-enableddevice 125 may determine that the assistant server 502 has resolved thequery “OK Computer, what's my next appointment.” Determining that thevoice-enabled virtual assistant has resolved the query may includeproviding, to the voice-enabled virtual assistant, the query and anindication that a voice call is ongoing on the speech-enabled device andreceiving, from the voice-enabled virtual assistant, a response to thequery and an indication that the query is resolved. For example, thespeech-enabled device 125 provide a representation of the query “OKComputer, what's my next appointment” and an indication of “Ongoingcall=True” and, in response, receive a representation of synthesizedspeech of “Your next appointment is ‘Coffee break’ at 3:30 PM” as aresponse to the query and an indication of “Query resolved=True.”

In some implementations, the voice-enabled virtual assistant may beconfigured to identify a command corresponding to the query, determinethat the command can be executed during a voice call, and in response todetermining that the command can be executed during a voice call,determine the response to indicate an answer to the command. Forexample, the assistant server 502 may receive a representation of theutterance “OK Computer, what's my next appointment,” identify a commandof “Identify Next Appointment” from a transcription from therepresentation of the utterance, determine the command “Identify NextAppointment” can be executed during a telephone call, and, in responseto determining that the command can be executed during the telephonecall, determine the response to indicate an answer of “Your nextappointment is ‘Coffee break’ at 3:30 PM.”

In some implementations, the voice-enabled virtual assistant may beconfigured to identify a command corresponding to the query, determinethat the command cannot be executed during a voice call, and in responseto determining that the command cannot be executed during a voice call,determine the response to indicate that the command cannot be executed.For example, the assistant server 502 may receive a representation ofthe utterance “OK Computer, play some music,” identify a command of“Play Music” from a transcription from the representation of theutterance, determine the command “Play Music” cannot be executed duringa telephone call, and, in response to determining that the commandcannot be executed during the telephone call, determine the response toindicate an answer of “Sorry, I can't play music during a call.”

In some implementations, determining that the command cannot be executedduring a voice call includes obtaining a list of commands that can beexecuted normally during a voice call and determining that the commandidentified is not in the list of commands. For example, the assistantserver 502 may obtain a list of commands that can be executed thatincludes “Identify Next Appointment” and does not include “Play Music,”determine that the command “Play Music” is not identified in the list,and, in response, determine that the command “Play Music” cannot beexecuted normally during a telephone call.

In some implementations, determining that the command cannot be executedduring a voice call includes obtaining a list of commands that cannot beexecuted normally during a voice call and determining that the commandidentified is in the list of commands. For example, the assistant server502 may obtain a list of commands that cannot be executed that includes“Play Music” and does not include “Identify Next Appointment,” determinethat the command “Play Music” is identified in the list, and, inresponse, determine that the command “Play Music” cannot be executednormally during a telephone call.

The process 800 includes in response to determining that thevoice-enabled virtual assistant has handled the query, resuming thevoice call between the first party and the second party from hold (840).For example, the speech-enabled device 125 may resume the telephonecall. In response to determining that the voice-enabled virtualassistant has handled the query, resuming the voice call between thefirst party and the second party from hold may include providing aninstruction to a voice call provider to resume the voice call from hold.For example, the speech-enabled device 125 may provide an instruction tothe voice server 506 to resume the telephone call from hold.

Additionally or alternatively, in response to determining that thevoice-enabled virtual assistant has handled the query, resuming thevoice call between the first party and the second party from hold mayinclude routing audio from a microphone to a voice server instead of thevoice-enabled virtual assistant and routing audio from the voice serverto a speaker instead of audio from the voice-enabled virtual assistant.For example, the speech-enabled device 125 may route audio from themicrophone to the voice server 506 instead of the assistant server 502and may route audio from the voice server 506 to the speaker instead ofaudio from the assistant server 502.

In some implementations, in response to determining that thevoice-enabled virtual assistant has handled the query, resuming thevoice call between the first party and the second party from hold mayinclude receiving an instruction from the voice-enabled virtualassistant to produce dual-tone multi-frequency signals and in responseto receiving an instruction from the voice-enabled virtual assistant toproduce dual-tone multi-frequency signals, providing a secondinstruction to the voice call provider to produce the dual-tonemulti-frequency signals after providing the instruction to the voicecall provider to resume the voice call from hold. For example, thespeech-enabled device 125 may receive an instruction of “Generate DTMFfor one” and, in response, instruct the voice server 506 to generateDTMF that represents a press of the “1” key.

In some implementations, the voice-enabled assistant server isconfigured to determine that the query indicates a command to generateone or more dual-tone multi-frequency signals and one or more numberscorresponding to the one or more dual-tone multi-frequency signals. Forexample, the assistant server 502 may receive a representation of theutterance “OK Computer, press one,” determine from a transcription that“Press one” indicates to generate DTMF signals for a number representedby “one” in the transcription, and, in response, provide an instructionto the speech-enabled device 125 instructing the speech-enabled device125 to instruct the voice server 506 to generate DTMF for “1.”Additionally or alternatively, in some implementations thespeech-enabled device 125 may generate the DTMF. For example, thespeech-enabled device 125 may receive an instruction from the assistantserver 502 to generate DTMF for “1” and, in response, produce DTMF tonesfor “1” and send those tones to the voice server 506.

Further to the descriptions above, a user may be provided with controlsallowing the user to make an election as to both if and when systems,programs or features described herein may enable collection of userinformation (e.g., information about a user's social network, socialactions or activities, profession, a user's preferences, or a user'scurrent location), and if the user is sent content or communicationsfrom a server. In addition, certain data may be treated in one or moreways before it is stored or used, so that personally identifiableinformation is removed. For example, a user's identity may be treated sothat no personally identifiable information can be determined for theuser, or a user's geographic location may be generalized where locationinformation is obtained (such as to a city, ZIP code, or state level),so that a particular location of a user cannot be determined. Thus, theuser may have control over what information is collected about the user,how that information is used, and what information is provided to theuser.

Different configurations of the system 100 may be used wherefunctionality of the speech-enabled device 125, the assistant server502, and the voice server 506 may be combined, further separated,distributed, or interchanged. For example, instead of including an audiorepresentation of the utterance in the query for the assistant server502 to transcribe, the speech-enabled device 125 may transcribe anutterance and include the transcription in the query to the assistantserver 502.

FIG. 9 shows an example of a computing device 900 and a mobile computingdevice 950 that can be used to implement the techniques described here.The computing device 900 is intended to represent various forms ofdigital computers, such as laptops, desktops, workstations, personaldigital assistants, servers, blade servers, mainframes, and otherappropriate computers. The mobile computing device 950 is intended torepresent various forms of mobile devices, such as personal digitalassistants, cellular telephones, smart-phones, and other similarcomputing devices. The components shown here, their connections andrelationships, and their functions, are meant to be examples only, andare not meant to be limiting.

The computing device 900 includes a processor 902, a memory 904, astorage device 906, a high-speed interface 908 connecting to the memory904 and multiple high-speed expansion ports 910, and a low-speedinterface 912 connecting to a low-speed expansion port 914 and thestorage device 906. Each of the processor 902, the memory 904, thestorage device 906, the high-speed interface 908, the high-speedexpansion ports 910, and the low-speed interface 912, are interconnectedusing various busses, and may be mounted on a common motherboard or inother manners as appropriate. The processor 902 can process instructionsfor execution within the computing device 900, including instructionsstored in the memory 904 or on the storage device 906 to displaygraphical information for a graphical user interface (GUI) on anexternal input/output device, such as a display 916 coupled to thehigh-speed interface 908. In other implementations, multiple processorsand/or multiple buses may be used, as appropriate, along with multiplememories and types of memory. Also, multiple computing devices may beconnected, with each device providing portions of the necessaryoperations (e.g., as a server bank, a group of blade servers, or amulti-processor system).

The memory 904 stores information within the computing device 900. Insome implementations, the memory 904 is a volatile memory unit or units.In some implementations, the memory 904 is a non-volatile memory unit orunits. The memory 904 may also be another form of computer-readablemedium, such as a magnetic or optical disk.

The storage device 906 is capable of providing mass storage for thecomputing device 900. In some implementations, the storage device 906may be or contain a computer-readable medium, such as a floppy diskdevice, a hard disk device, an optical disk device, or a tape device, aflash memory or other similar solid state memory device, or an array ofdevices, including devices in a storage area network or otherconfigurations. Instructions can be stored in an information carrier.The instructions, when executed by one or more processing devices (forexample, processor 902), perform one or more methods, such as thosedescribed above. The instructions can also be stored by one or morestorage devices such as computer- or machine-readable mediums (forexample, the memory 904, the storage device 906, or memory on theprocessor 902).

The high-speed interface 908 manages bandwidth-intensive operations forthe computing device 900, while the low-speed interface 912 manageslower bandwidth-intensive operations. Such allocation of functions is anexample only. In some implementations, the high-speed interface 908 iscoupled to the memory 904, the display 916 (e.g., through a graphicsprocessor or accelerator), and to the high-speed expansion ports 910,which may accept various expansion cards (not shown). In theimplementation, the low-speed interface 912 is coupled to the storagedevice 906 and the low-speed expansion port 914. The low-speed expansionport 914, which may include various communication ports (e.g., USB,Bluetooth, Ethernet, wireless Ethernet) may be coupled to one or moreinput/output devices, such as a keyboard, a pointing device, a scanner,or a networking device such as a switch or router, e.g., through anetwork adapter.

The computing device 900 may be implemented in a number of differentforms, as shown in the figure. For example, it may be implemented as astandard server 920, or multiple times in a group of such servers. Inaddition, it may be implemented in a personal computer such as a laptopcomputer 922. It may also be implemented as part of a rack server system924. Alternatively, components from the computing device 900 may becombined with other components in a mobile device (not shown), such as amobile computing device 950. Each of such devices may contain one ormore of the computing device 900 and the mobile computing device 950,and an entire system may be made up of multiple computing devicescommunicating with each other.

The mobile computing device 950 includes a processor 952, a memory 964,an input/output device such as a display 954, a communication interface966, and a transceiver 968, among other components. The mobile computingdevice 950 may also be provided with a storage device, such as amicro-drive or other device, to provide additional storage. Each of theprocessor 952, the memory 964, the display 954, the communicationinterface 966, and the transceiver 968, are interconnected using variousbuses, and several of the components may be mounted on a commonmotherboard or in other manners as appropriate.

The processor 952 can execute instructions within the mobile computingdevice 950, including instructions stored in the memory 964. Theprocessor 952 may be implemented as a chipset of chips that includeseparate and multiple analog and digital processors. The processor 952may provide, for example, for coordination of the other components ofthe mobile computing device 950, such as control of user interfaces,applications run by the mobile computing device 950, and wirelesscommunication by the mobile computing device 950.

The processor 952 may communicate with a user through a controlinterface 958 and a display interface 956 coupled to the display 954.The display 954 may be, for example, a TFT (Thin-Film-Transistor LiquidCrystal Display) display or an OLED (Organic Light Emitting Diode)display, or other appropriate display technology. The display interface956 may comprise appropriate circuitry for driving the display 954 topresent graphical and other information to a user. The control interface958 may receive commands from a user and convert them for submission tothe processor 952. In addition, an external interface 962 may providecommunication with the processor 952, so as to enable near areacommunication of the mobile computing device 950 with other devices. Theexternal interface 962 may provide, for example, for wired communicationin some implementations, or for wireless communication in otherimplementations, and multiple interfaces may also be used.

The memory 964 stores information within the mobile computing device950. The memory 964 can be implemented as one or more of acomputer-readable medium or media, a volatile memory unit or units, or anon-volatile memory unit or units. An expansion memory 974 may also beprovided and connected to the mobile computing device 950 through anexpansion interface 972, which may include, for example, a SIMM (SingleIn Line Memory Module) card interface. The expansion memory 974 mayprovide extra storage space for the mobile computing device 950, or mayalso store applications or other information for the mobile computingdevice 950. Specifically, the expansion memory 974 may includeinstructions to carry out or supplement the processes described above,and may include secure information also. Thus, for example, theexpansion memory 974 may be provided as a security module for the mobilecomputing device 950, and may be programmed with instructions thatpermit secure use of the mobile computing device 950. In addition,secure applications may be provided via the SIMM cards, along withadditional information, such as placing identifying information on theSIMM card in a non-hackable manner.

The memory may include, for example, flash memory and/or NVRAM memory(non-volatile random access memory), as discussed below. In someimplementations, instructions are stored in an information carrier thatthe instructions, when executed by one or more processing devices (forexample, processor 952), perform one or more methods, such as thosedescribed above. The instructions can also be stored by one or morestorage devices, such as one or more computer- or machine-readablemediums (for example, the memory 964, the expansion memory 974, ormemory on the processor 952). In some implementations, the instructionscan be received in a propagated signal, for example, over thetransceiver 968 or the external interface 962.

The mobile computing device 950 may communicate wirelessly through thecommunication interface 966, which may include digital signal processingcircuitry where necessary. The communication interface 966 may providefor communications under various modes or protocols, such as GSM voicecalls (Global System for Mobile communications), SMS (Short MessageService), EMS (Enhanced Messaging Service), or MMS messaging (MultimediaMessaging Service), CDMA (code division multiple access), TDMA (timedivision multiple access), PDC (Personal Digital Cellular), WCDMA(Wideband Code Division Multiple Access), CDMA2000, or GPRS (GeneralPacket Radio Service), among others. Such communication may occur, forexample, through the transceiver 968 using a radio-frequency. Inaddition, short-range communication may occur, such as using aBluetooth, WiFi, or other such transceiver (not shown). In addition, aGPS (Global Positioning System) receiver module 970 may provideadditional navigation- and location-related wireless data to the mobilecomputing device 950, which may be used as appropriate by applicationsrunning on the mobile computing device 950.

The mobile computing device 950 may also communicate audibly using anaudio codec 960, which may receive spoken information from a user andconvert it to usable digital information. The audio codec 960 maylikewise generate audible sound for a user, such as through a speaker,e.g., in a handset of the mobile computing device 950. Such sound mayinclude sound from voice telephone calls, may include recorded sound(e.g., voice messages, music files, etc.) and may also include soundgenerated by applications operating on the mobile computing device 950.

The mobile computing device 950 may be implemented in a number ofdifferent forms, as shown in the figure. For example, it may beimplemented as a cellular telephone 980. It may also be implemented aspart of a smart-phone 982, personal digital assistant, or other similarmobile device.

Various implementations of the systems and techniques described here canbe realized in digital electronic circuitry, integrated circuitry,specially designed ASICs, computer hardware, firmware, software, and/orcombinations thereof. These various implementations can includeimplementation in one or more computer programs that are executableand/or interpretable on a programmable system including at least oneprogrammable processor, which may be special or general purpose, coupledto receive data and instructions from, and to transmit data andinstructions to, a storage system, at least one input device, and atleast one output device.

These computer programs, also known as programs, software, softwareapplications or code, include machine instructions for a programmableprocessor, and can be implemented in a high-level procedural and/orobject-oriented programming language, and/or in assembly/machinelanguage. A program can be stored in a portion of a file that holdsother programs or data, e.g., one or more scripts stored in a markuplanguage document, in a single file dedicated to the program inquestion, or in multiple coordinated files, e.g., files that store oneor more modules, sub programs, or portions of code. A computer programcan be deployed to be executed on one computer or on multiple computersthat are located at one site or distributed across multiple sites andinterconnected by a communication network.

As used herein, the terms “machine-readable medium” “computer-readablemedium” refers to any computer program product, apparatus and/or device,e.g., magnetic discs, optical disks, memory, Programmable Logic devices(PLDs) used to provide machine instructions and/or data to aprogrammable processor, including a machine-readable medium thatreceives machine instructions as a machine-readable signal. The term“machine-readable signal” refers to any signal used to provide machineinstructions and/or data to a programmable processor.

To provide for interaction with a user, the systems and techniquesdescribed here can be implemented on a computer having a display device,e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor,for displaying information to the user and a keyboard and a pointingdevice, e.g., a mouse or a trackball, by which the user can provideinput to the computer. Other kinds of devices can be used to provide forinteraction with a user as well; for example, feedback provided to theuser can be any form of sensory feedback, e.g., visual feedback,auditory feedback, or tactile feedback; and input from the user can bereceived in any form, including acoustic, speech, or tactile input.

The systems and techniques described here can be implemented in acomputing system that includes a back end component, e.g., as a dataserver, or that includes a middleware component such as an applicationserver, or that includes a front end component such as a client computerhaving a graphical user interface or a Web browser through which a usercan interact with an implementation of the systems and techniquesdescribed here, or any combination of such back end, middleware, orfront end components. The components of the system can be interconnectedby any form or medium of digital data communication such as, acommunication network. Examples of communication networks include alocal area network (“LAN”), a wide area network (“WAN”), and theInternet.

The computing system can include clients and servers. A client andserver are generally remote from each other and typically interactthrough a communication network. The relationship of client and serverarises by virtue of computer programs running on the respectivecomputers and having a client-server relationship to each other.

Further to the descriptions above, a user may be provided with controlsallowing the user to make an election as to both if and when systems,programs or features described herein may enable collection of userinformation (e.g., information about a user's social network, socialactions or activities, profession, a user's preferences, or a user'scurrent location), and if the user is sent content or communicationsfrom a server. In addition, certain data may be treated in one or moreways before it is stored or used, so that personally identifiableinformation is removed.

For example, in some embodiments, a user's identity may be treated sothat no personally identifiable information can be determined for theuser, or a user's geographic location may be generalized where locationinformation is obtained (such as to a city, ZIP code, or state level),so that a particular location of a user cannot be determined. Thus, theuser may have control over what information is collected about the user,how that information is used, and what information is provided to theuser.

A number of embodiments have been described. Nevertheless, it will beunderstood that various modifications may be made without departing fromthe scope of the invention. For example, various forms of the flowsshown above may be used, with steps re-ordered, added, or removed. Also,although several applications of the systems and methods have beendescribed, it should be recognized that numerous other applications arecontemplated. Accordingly, other embodiments are within the scope of thefollowing claims.

Particular embodiments of the subject matter have been described. Otherembodiments are within the scope of the following claims. For example,the actions recited in the claims can be performed in a different orderand still achieve desirable results. As one example, the processesdepicted in the accompanying figures do not necessarily require theparticular order shown, or sequential order, to achieve desirableresults. In some cases, multitasking and parallel processing may beadvantageous.

What is claimed is:
 1. A method implemented by one or more processors,comprising: receiving, from a call-placing user associated with adigital assistant device, an utterance that requests that the digitalassistant device initiate a voice call to a callee user that is alsoidentified by the utterance; identifying, based on at least theutterance, the call-placing user from among the multiple differentusers; in response to identifying the call-placing user, determiningthat a voice number that is associated with a different device of thecall-placing user is available to the digital assistant deviceassociated with the call-placing user; determining a recipient voicenumber to call based on the callee user that is identified by theutterance; and causing the digital assistant device to initiate thevoice call to the recipient voice number, wherein the voice call to therecipient voice number indicates the voice number that is associatedwith the different device as an origin of the voice call instead of avoice number associated with the digital assistant device.
 2. The methodof claim 1, wherein determining the recipient voice number to call basedon the callee user that is identified by the utterance comprises:identifying, based on at least the utterance, a particular contact entryfrom among a plurality of contact entries; and determining a particularvoice number associated with the particular contact entry as therecipient voice number.
 3. The method of claim 2, wherein identifyingthe particular contact entry from among the plurality of contact entriescomprises: generating a transcription of the utterance; and determiningthat the transcription includes a name associated with the particularcontact entry.
 4. The method of claim 1, wherein identifying thecall-placing user from among the multiple different users based at leaston the utterance comprises: obtaining, from the different device of thecall-placing user, an indication that speech included the utterance wasdetermined to match speech corresponding to the call-placing user. 5.The method of claim 1, wherein identifying the call-placing user fromamong the multiple different users based at least on the utterancecomprises: determining, by an assistant server, that speech in theutterance matches speech corresponding to the call-placing user.
 6. Themethod of claim 1, wherein causing the digital assistant device toinitiate the voice call to the recipient voice number comprises:providing, to the digital assistant device, the recipient voice numberand an instruction to initiate the voice call to the recipient voicenumber.
 7. The method of claim 1, further comprising: receiving anutterance that requests that the digital assistant device initiate anadditional voice call; classifying the additional utterance as not beingspoken by any of the multiple different users; and in response toclassifying the second utterance as not being spoken by any of themultiple different users, causing the digital assistant device toinitiate the additional voice call without accessing any contact entriesfor any of the multiple different users.
 8. A system comprising: atleast one processor; and memory storing instructions that, whenexecuted, cause the at least one processor to: receive, from acall-placing user associated with a digital assistant device, anutterance that requests that the digital assistant device initiate avoice call to a callee user that is also identified by the utterance;identify, based on at least the utterance, the call-placing user fromamong the multiple different users; in response to identifying thecall-placing user, determine that a voice number that is associated witha different device of the call-placing user is available to the digitalassistant device associated with the call-placing user; determine arecipient voice number to call based on the callee user that isidentified by the utterance; and cause the digital assistant device toinitiate the voice call to the recipient voice number, wherein the voicecall to the recipient voice number indicates the voice number that isassociated with the different device as an origin of the voice callinstead of a voice number associated with the digital assistant device.9. The system of claim 8, wherein the instructions to determine therecipient voice number to call based on the callee user that isidentified by the utterance comprise instructions to: identify, based onat least the utterance, a particular contact entry from among aplurality of contact entries; and determine a particular voice numberassociated with the particular contact entry as the recipient voicenumber.
 10. The system of claim 9, wherein the instructions to identifythe particular contact entry from among the plurality of contact entriescomprise instructions to: generate a transcription of the utterance; anddetermine that the transcription includes a name associated with theparticular contact entry.
 11. The system of claim 8, wherein theinstructions to identify the call-placing user from among the multipledifferent users based at least on the utterance comprise instructionsto: obtain, from the different device of the call-placing user, anindication that speech included the utterance was determined to matchspeech corresponding to the call-placing user.
 12. The system of claim8, wherein the instructions to identify the call-placing user from amongthe multiple different users based at least on the utterance compriseinstructions to: determine, by an assistant server, that speech in theutterance matches speech corresponding to the call-placing user.
 13. Thesystem of claim 8, wherein the instructions to cause the digitalassistant device to initiate the voice call to the recipient voicenumber comprise instructions to: provide, to the digital assistantdevice, the recipient voice number and an instruction to initiate thevoice call to the recipient voice number.
 14. The system of claim 8,wherein the instructions further cause the at least one processor to:receive an utterance that requests that the digital assistant deviceinitiate an additional voice call; classify the additional utterance asnot being spoken by any of the multiple different users; and in responseto classifying the second utterance as not being spoken by any of themultiple different users, cause the digital assistant device to initiatethe additional voice call without accessing any contact entries for anyof the multiple different users.
 15. A non-transitory computer-readablestorage medium storing instructions that, when executed, cause at leastone processor to perform operations, the operations comprising:receiving, from a call-placing user associated with a digital assistantdevice, an utterance that requests that the digital assistant deviceinitiate a voice call to a callee user that is also identified by theutterance; identifying, based on at least the utterance, thecall-placing user from among the multiple different users; in responseto identifying the call-placing user, determining that a voice numberthat is associated with a different device of the call-placing user isavailable to the digital assistant device associated with thecall-placing user; determining a recipient voice number to call based onthe callee user that is identified by the utterance; and causing thedigital assistant device to initiate the voice call to the recipientvoice number, wherein the voice call to the recipient voice numberindicates the voice number that is associated with the different deviceas an origin of the voice call instead of a voice number associated withthe digital assistant device.
 16. The non-transitory computer-readablestorage medium of claim 15, wherein determining the recipient voicenumber to call based on the callee user that is identified by theutterance comprises: identifying, based on at least the utterance, aparticular contact entry from among a plurality of contact entries; anddetermining a particular voice number associated with the particularcontact entry as the recipient voice number.
 17. The non-transitorycomputer-readable storage medium of claim 16, wherein identifying theparticular contact entry from among the plurality of contact entriescomprises: generating a transcription of the utterance; and determiningthat the transcription includes a name associated with the particularcontact entry.
 18. The non-transitory computer-readable storage mediumof claim 15, wherein identifying the call-placing user from among themultiple different users based at least on the utterance comprises:determining, by an assistant server, that speech in the utterancematches speech corresponding to the call-placing user.
 19. Thenon-transitory computer-readable storage medium of claim 15, whereincausing the digital assistant device to initiate the voice call to therecipient voice number comprises: providing, to the digital assistantdevice, the recipient voice number and an instruction to initiate thevoice call to the recipient voice number.
 20. The non-transitorycomputer-readable storage medium of claim 15, the operations furthercomprising: receiving an utterance that requests that the digitalassistant device initiate an additional voice call; classifying theadditional utterance as not being spoken by any of the multipledifferent users; and in response to classifying the second utterance asnot being spoken by any of the multiple different users, causing thedigital assistant device to initiate the additional voice call withoutaccessing any contact entries for any of the multiple different users.